import axios from './interceptor'

const getCenterData = () =>{
  return axios.get('/endIndex/center')
}
// 请求主页数据
const getFrontData =()=>{
  return axios.get('/endIndex/front')
}
// 请求标签卡的数据
const getCardData  =()=>{
  return axios.get('/endIndex')
}

export {
  getCenterData,
  getFrontData,
  getCardData,
}